import {friendHttp, request, his, tongJi, canji, weixin} from './axios.conf'
import $qs from 'qs'

let http = {
  /* miniupload/img
上传图片 */
  img (data) {
    return request.post('miniupload/img', $qs.stringify(data))
  },
  /* 字典
  * minidict/listByType */
  listByType (data) {
    return request.post('minidict/listByType', $qs.stringify(data))
  },
  /* minidict/getProCity
获取全国省市字典 */
  getProCity (data) {
    return request.post('minidict/getProCity', $qs.stringify(data))
  },
  /* 我的好友
  * http://42.192.80.48:7089/minicircle/findMyFriendPaiXu
  * */
  findMyFriendPaiXu (data) {
    return friendHttp.post('minicircle/findMyFriendPaiXu', $qs.stringify(data))
  },
  /* 好友申请通过
  * minicircle/updateCircleStatus */
  updateCircleStatus (data) {
    return friendHttp.post('minicircle/updateCircleStatus', $qs.stringify(data))
  },
  /* 添加好友 发送请求
  * minicircle/insertCircle
  * */
  insertCircle (data) {
    return friendHttp.post('minicircle/insertCircle', $qs.stringify(data))
  },
  /* 查看好友申请
  * findDaiTongGuoList */
  findDaiTongGuoList (data) {
    return friendHttp.post('minicircle/findDaiTongGuoList', $qs.stringify(data))
  },
  /* 添加好友 搜索
  * findFeiFriend */
  findFeiFriend (data) {
    return friendHttp.post('minicircle/findFeiFriend', $qs.stringify(data))
  },
  /* 好友详细资料
  * findUserOne */
  findUserOne (data) {
    return friendHttp.post('minicircle/findUserOne', $qs.stringify(data))
  },
  /*
  * circle/deleteCircleXiangHu */
  deleteCircleXiangHu (data) {
    return friendHttp.post('minicircle/deleteCircleXiangHu', $qs.stringify(data))
  },
  /* 查看朋友圈列表
  * circle/findCircleActionList */
  findCircleActionList (data) {
    return friendHttp.post('minicircle/findCircleActionList', $qs.stringify(data))
  },
  /* 朋友圈 点赞
  * circle/insertCircleActionPraise */
  insertCircleActionPraise (data) {
    return friendHttp.post('minicircle/insertCircleActionPraise', $qs.stringify(data))
  },
  /* 朋友圈 评论
   * circle/insertCircleActionComment */
  insertCircleActionComment (data) {
    return friendHttp.post('minicircle/insertCircleActionComment', $qs.stringify(data))
  },
  /* 朋友圈 删除自己动态
  * circle/updateCircleActionOne */
  updateCircleActionOne (data) {
    return friendHttp.post('minicircle/updateCircleActionOne', $qs.stringify(data))
  },
  /* 朋友圈图片 上传到后台
  * http://kanghdj.com:8089/circleboot/minicircle/fileUpload */
  fileUpload (data) {
    return friendHttp.post('minicircle/fileUpload', $qs.stringify(data))
  },
  /* 发布朋友圈
  * minicircle/insertCircleAction */
  insertCircleAction (data) {
    return friendHttp.post('minicircle/insertCircleAction', $qs.stringify(data))
  },
  /* 首页轮播图
  * http://jmx-kfdj.com/kfhl/
  * miniindex/getIndexImgs */
  getIndexImgs (params) {
    return request.get('miniindex/getIndexImgs', {params})
  },
  /* 首页菜单
  * http://jmx-kfdj.com/kfhl/miniindex/getMenus */
  getMenus (params) {
    return request.get('miniindex/getMenus', {params})
  },
  /* 首页视频
  * http://jmx-kfdj.com/kfhl/miniindex/getIndexVideosByType
  * */
  getIndexVideosByType (params) {
    return request.get('miniindex/getIndexVideosByType', {params})
  },
  /* 首页搜索
* http://jmx-kfdj.com/kfhl/miniindex/getItemsList
* */
  getItemsList (data) {
    return request.post('miniindex/getItemsList', $qs.stringify(data))
  },
  /* 个人信息
  *  http://jmx-kfdj.com/kfhl/
  * miniindex/findPersonal
  * */
  findPersonal (data) {
    return request.post('miniindex/findPersonal', $qs.stringify(data))
  },
  /* 修改个人信息
  * http://jmx-kfdj.com/kfhl/miniindex/updatePersonal */
  updatePersonal (data) {
    return request.post('miniindex/updatePersonal', $qs.stringify(data))
  },
  // POST /statistic/
  disability_tianxie (data) {
    return tongJi.post('statistic/disability_tianxie', $qs.stringify(data))
  },
  disability_type (data) {
    return tongJi.post('statistic/disability_count', $qs.stringify(data))
  },
  disability_szjg (data) {
    // POST /statistic/disability_szjg
    return tongJi.post('statistic/disability_szjg', $qs.stringify(data))
  },
  // 正常8080接口
  // 获取视频分类数据
  videoList (params) {
    return request.get('minivideo/getVideoTypes', {params})
  },
  /* 添加我的签约医生 添加我的签约患者 点击确定 发送请求
  * http://jmx-kfdj.com/kfhl/
  * minifriend/saveFriend
  * */
  saveFriend (params) {
    return request.get('minifriend/saveFriend', {params})
  },
  /* 获取未添加的医生信息
  * http://jmx-kfdj.com/kfhl/
  * minifriend/findFeiMyStaff
  * */
  findFeiMyStaff (params) {
    return request.get('minifriend/findFeiMyStaff', {params})
  },
  /* 查询我的签约医生
  * http://jmx-kfdj.com/kfhl/
  * minifriend/findMyDoctorList
  * */
  findMyDoctorList (params) {
    return request.get('minifriend/findMyDoctorList', {params})
  },
  /* 健康服务签约列表
  * miniSign/jiankangServiceList */
  jiankangServiceList (data) {
    return request.post('miniSign/jiankangServiceList', $qs.stringify(data))
  },
  /* 已签约列表
  * miniSign/jiankangDoctorListYiQian */
  jiankangDoctorListYiQian (data) {
    return request.post('miniSign/jiankangDoctorListYiQian', $qs.stringify(data))
  },
  /* 待签约
  * miniSign/jiankangDoctorListDaiQian */
  jiankangDoctorListDaiQian (data) {
    return request.post('miniSign/jiankangDoctorListDaiQian', $qs.stringify(data))
  },
  /* 可签约
  * miniSign/jiankangDoctorListKeQian */
  jiankangDoctorListKeQian (data) {
    return request.post('miniSign/jiankangDoctorListKeQian', $qs.stringify(data))
  },
  /* 患者签约医生
  * miniSign/insertFriendSign */
  insertFriendSign (data) {
    return request.post('miniSign/insertFriendSign', $qs.stringify(data))
  },
  /* 查询我的签约患者
  * http://jmx-kfdj.com/kfhl/
  * minifriend/findInpatientswithName
  * */
  findInpatientswithName (params) {
    return request.get('minifriend/findInpatientswithName', {params})
  },
  /* 查询未添加的签约患者
  * http://jmx-kfdj.com/kfhl/
  * minifriend/findFeiInpatientswithName */
  findFeiInpatientswithName (params) {
    return request.get('minifriend/findFeiInpatientswithName', {params})
  },
  /* 查看康复医嘱列表
  * minidoctoradvice/listAll */
  listAll (data) {
    return request.post('minidoctoradvice/listAll ', $qs.stringify(data))
  },
  /* 新增医嘱
  * minidoctoradvice/save */
  save (data) {
    return request.post('minidoctoradvice/save ', $qs.stringify(data))
  },
  /* 停用医嘱
  * minidoctoradvice/stop */
  stop (data) {
    return request.post('minidoctoradvice/stop ', $qs.stringify(data))
  },
  /* 查询待签约医生和待签约患者
  * minifriend/findDaiqianyueDoctor
  * */
  findDaiqianyueDoctor (data) {
    return request.post('minifriend/findDaiqianyueDoctor', $qs.stringify(data))
  },
  /* 待签约医生和待签约患者申请通过
  * http://jmx-kfdj.com/kfhl/minifriend/updateFriend
  * */
  updateFriend (data) {
    return request.post('minifriend/updateFriend', $qs.stringify(data))
  },
  /* 健康管理 动态管理数据
  * http://jmx-kfdj.com/kfhl/healthdataDynamic/findHealthdataDynamic'
  * */
  findHealthdataDynamic (params) {
    return request.get('healthdataDynamic/findHealthdataDynamic', {params})
  },
  /* 健康管理  请求选择 某一天的 所有列的数据
  * http://jmx-kfdj.com/kfhl/healthdata/findHealthdataByName */
  findHealthdataByName (params) {
    return request.get('healthdata/findHealthdataByName', {params})
  },
  /* 健康管理  添加数据返回给后台
  * http://jmx-kfdj.com/kfhl/healthdata/saveHealthdata */
  saveHealthdata (params) {
    return request.get('healthdata/saveHealthdata', {params})
  },
  /*
  * 请求当前列表历史数据 http://jmx-kfdj.com/kfhl/healthdata/findHealthdata */
  findHealthdata (params) {
    return request.get('healthdata/findHealthdata', {params})
  },
  /*
  * 健康管理历史记录 删除数据请求
  * http://jmx-kfdj.com/kfhl/healthdata/deleteHealthdataById */
  deleteHealthdataById (params) {
    return request.get('healthdata/deleteHealthdataById', {params})
  },
  /* 获取我的健康档案的 个人基本信息
  * http://jmx-kfdj.com/hisdemo/Healthinformationpeople */
  Healthinformationpeople (data) {
    return his.post('Healthinformationpeople', $qs.stringify(data))
  },
  /* 康复评估表
  *  http://jmx-kfdj.com/hisdemo/PingGu */
  PingGu (data) {
    return his.post('PingGu', $qs.stringify(data))
  },
  /* 康复治疗表
   * http://jmx-kfdj.com/hisdemo/zhiliao */
  zhiliao (params) {
    return his.get('zhiliao', {params})
  },
  /* 康复护理表
   * http://jmx-kfdj.com/hisdemo/HuLi */
  HuLi (params) {
    return his.get('HuLi', {params})
  },
  /* 健康数据采集 获取几天内的数据
   * http://jmx-kfdj.com/kfhl/healthdata/findHealthdataByTimeFenZu */
  findHealthdataByTimeFenZu (params) {
    return request.get('healthdata/findHealthdataByTimeFenZu', {params})
  },
  /* 获取医院等级
  * http://jmx-kfdj.com/kfhl/minihospital/findHosptialGrade */
  findHosptialGrade (data) {
    return request.post('minihospital/findHosptialGrade', $qs.stringify(data))
  },
  /*
* 获取当前页面是 护理项目 还是 康复项目 获取左边分类
*  http://jmx-kfdj.com/kfhl/miniitem/getTypes */
  getTypes (data) {
    return request.post('miniitem/getTypes', $qs.stringify(data))
  },
  /*
  * 请求左边 菜单对应的右边内容
  *  http://jmx-kfdj.com/kfhl/miniitem/getItems */
  getItems (data) {
    return request.post('miniitem/getItems', $qs.stringify(data))
  },
  /*
  * 获取护理师
  * http://jmx-kfdj.com/kfhl/miniitem/getServers */
  getServers (data) {
    return request.post('miniitem/getServers', $qs.stringify(data))
  },
  /* 护理师详情
  * miniitem/getServerDetail */
  getServerDetail (data) {
    return request.post('miniitem/getServerDetail', $qs.stringify(data))
  },
  /*
  * 获取列表数据 http://jmx-kfdj.com/kfhl/
  * miniassess/getMyAssessDetail */
  getMyAssessDetail (params) {
    return request.get('miniassess/getMyAssessDetail', {params})
  },
  /* 评估视频
  * miniassess/videoUpload */
  videoUpload (data) {
    return request.post('miniassess/videoUpload', $qs.stringify(data))
  },
  /* 评估图片
  * miniassess/imgUpload */
  imgUpload (data) {
    return request.post('miniassess/imgUpload', $qs.stringify(data))
  },
  /* 评估 查询所有用户关系列表
  * miniassess/findRoleJueSe */
  findRoleJueSe (data) {
    return request.post('miniassess/findRoleJueSe', $qs.stringify(data))
  },
  /* 获取下拉框人员名称
  * miniassess/getSelectPersonName
*/
  getSelectPersonName (data) {
    return request.post('miniassess/getSelectPersonName', $qs.stringify(data))
  },
  /* 获取下拉框人员手机号
  * miniassess/getSelectPersonPhone
*/
  getSelectPersonPhone (data) {
    return request.post('miniassess/getSelectPersonPhone', $qs.stringify(data))
  },
  /* 获取下拉框人员身份证
  * miniassess/getSelectPersonIdnum
*/
  getSelectPersonIdnum (data) {
    return request.post('miniassess/getSelectPersonIdnum', $qs.stringify(data))
  },
  /* 获取下拉框人员地址
  * miniassess/getSelectPersonAddress
*/
  getSelectPersonAddress (data) {
    return request.post('miniassess/getSelectPersonAddress', $qs.stringify(data))
  },
  /* 获取下拉框自我评估类型
  * getSelectMyAssessType
*/
  getSelectMyAssessType (data) {
    return request.post('miniassess/getSelectMyAssessType', $qs.stringify(data))
  },
  /* 获取下拉框评估表名称
  * getSelectMyAssessName
*/
  getSelectMyAssessName (data) {
    return request.post('miniassess/getSelectMyAssessName', $qs.stringify(data))
  },
  /* 获取下拉框评估人姓名
  * getSelectMyAssessOpname
*/
  getSelectMyAssessOpname (data) {
    return request.post('miniassess/getSelectMyAssessOpname', $qs.stringify(data))
  },
  /*
  * miniassess/getMyAssessAndAnswers */
  getMyAssessAndAnswers (data) {
    return request.post('miniassess/getMyAssessAndAnswers', $qs.stringify(data))
  },
  /* 点击评测 获取所有评估列表
  *  http://jmx-kfdj.com/kfhl/
  * miniassess/list */
  list (params) {
    return request.get('miniassess/list', {params})
  },
  /* 获取我的评估列表
  *  http://jmx-kfdj.com/kfhl/
  * miniassess/getMyAssess */
  getMyAssess (params) {
    return request.get('miniassess/getMyAssess', {params})
  },
  /* 智力测试 点击提交
  *  http://jmx-kfdj.com/kfhl/
  * miniassess/getResult */
  getResult (params) {
    return request.get('miniassess/getResult', {params})
  },
  /* miniassess/getDoctorListByMine
    选择复评医生列表 */
  getDoctorListByMine (data) {
    return request.post('miniassess/getDoctorListByMine', $qs.stringify(data))
  },
  /* 评估 选择医生
   minicons/findDoctorGroup */
  findDoctorGroup (data) {
    return request.post('minicons/findDoctorGroup', $qs.stringify(data))
  },
  /* 智力测试 复评获取 所有当前题下的复评次数及图片资料
  *  http://jmx-kfdj.com/kfhl/
  * miniassess/getSubjectAnswerHistory */
  getSubjectAnswerHistory (params) {
    return request.get('miniassess/getSubjectAnswerHistory', {params})
  },
  /* 智力测试 获取题目
   * http://jmx-kfdj.com/kfhl/
   * miniassess/getSubjects */
  getSubjects (params) {
    return request.get('miniassess/getSubjects', {params})
  },
  /*
  * 智力测试 点击完成
  *  http://jmx-kfdj.com/kfhl/miniassess/submit */
  submit (data) {
    return request.post('miniassess/submit', (data))
  },
  /*
  * 收藏 http://jmx-kfdj.com/kfhl/minivideo/videocollect */
  videocollect (params) {
    return request.get('minivideo/videocollect', {params})
  },
  /*
  * 取消收藏 http://jmx-kfdj.com/kfhl/minivideo/videocollectcancel */
  videocollectcancel (params) {
    return request.get('minivideo/videocollectcancel', {params})
  },
  /*
  * 点赞 http://jmx-kfdj.com/kfhl/minivideo/videopraise */
  videopraise (params) {
    return request.get('minivideo/videopraise', {params})
  },
  /*
  取消点赞 http://jmx-kfdj.com/kfhl/minivideo/videopraisecancel */
  videopraisecancel (params) {
    return request.get('minivideo/videopraisecancel', {params})
  },
  /* 档案管理
  * 人员管理 查询所有已添加人员信息
  * http://jmx-kfdj.com:7088/disablerboot/
  * healthFormationpeople/listhealthFormationpeople
  * */
  listhealthFormationpeople (params) {
    return canji.get('healthFormationpeople/listhealthFormationpeople', {params})
  },
  /* 档案管理
  * 人员管理  搜索框姓名
  * http://jmx-kfdj.com:7088/disablerboot/
  * healthFormationpeople/listhealthFormationpeople
  * */
  findHealthName (params) {
    return canji.get('healthFormationpeople/findHealthName', {params})
  },
  /* 档案管理
  * 人员管理  搜索框电话号码
  * http://jmx-kfdj.com:7088/disablerboot/
  * healthFormationpeople/listhealthFormationpeople
  * */
  findHealthphone (params) {
    return canji.get('healthFormationpeople/findHealthphone', {params})
  },
  /* 档案管理
  * 友邦保险
  * http://jmx-kfdj.com:7088/disablerboot/
  * insurance/oneInsrunace
  * */
  oneInsrunace (params) {
    return canji.get('insurance/oneInsrunace', {params})
  },
  /*
  * checkInspection/insuranceZuofei
作废一条保险 */
  insuranceZuofei (params) {
    return canji.get('insurance/insuranceZuofei', {params})
  },
  // findAllInsurance
  findAllInsurance (params) {
    return canji.get('insurance/findAllInsurance', {params})
  },
  /* 档案管理
  * 友邦保险
  * insurance/insertInsurance新增和修改
  * */
  insertInsurance (params) {
    return canji.get('insurance/insertInsurance', {params})
  },
  /* 档案管理
  * 友邦保险
  * insurance/fileUpload
  * 新增和修改
  * */
  insuranceFileUpload (params) {
    return canji.post('insurance/fileUpload', $qs.stringify(params))
  },
  /*
  * 这条视频详情记录 视频收藏数量 视频评论数量 视频点赞数量
  * http://jmx-kfdj.com/kfhl/minivideo/detail */
  detail (params) {
    return request.get('minivideo/detail', {params})
  },
  /*
  * 点击视频是否成功
  *  http://jmx-kfdj.com/kfhl/minivideo/videoclick */
  videoclick (params) {
    return request.get('minivideo/videoclick', {params})
  },
  /*
  * 评论列表 http://jmx-kfdj.com/kfhl/minivideo/getComments */
  getComments (params) {
    return request.get('minivideo/getComments', {params})
  },
  /*
  * 评论发布 http://jmx-kfdj.com/kfhl/minivideo/videocomment */
  videocomment (params) {
    return request.get('minivideo/videocomment', {params})
  },
  /*
  *  获取视频及类型 http://jmx-kfdj.com/kfhl/minivideo/getVideosByType */
  getVideosByType (params) {
    return request.get('minivideo/getVideosByType', {params})
  },
  /* 档案详情
  查询是否有残疾人档案
  * http://jmx-kfdj.com:7088/disablerboot/
  * healthFormationpeople/findOneDisPeople
  * */
  findOneDisPeople (params) {
    return canji.get('healthFormationpeople/findOneDisPeople', {params})
  },
  /* 档案详情点击进入  个人档案信息
  * http://jmx-kfdj.com:7088/disablerboot/
  * healthFormationpeople/findOnehealthFormationpeople
  * */
  findOnehealthFormationpeople (params) {
    return canji.get('healthFormationpeople/findOnehealthFormationpeople', {params})
  },
  /* 脱敏 修改资料
  * findOnehealthFormationpeopleTuoMin */
  findOnehealthFormationpeopleTuoMin (params) {
    return canji.get('healthFormationpeople/findOnehealthFormationpeopleTuoMin', {params})
  },
  // 新增个人档案 保存
  savehealthFormationpeople (params) {
    return canji.get('healthFormationpeople/savehealthFormationpeople', {params})
  },
  /* 分享朋友圈
  * miniwx/getweixinjs */
  getweixinjs (params) {
    return request.get('miniwx/getweixinjs.do', {params})
  },
  /* 获取全国市
 * miniindex/findShouZiMuCity */
  findShouZiMuCity (data) {
    return request.post('miniindex/findShouZiMuCity', $qs.stringify(data))
  },
  /* 我的 个人中心 获得数字提示
  * miniindex/getRemindCount */
  getRemindCount (data) {
    return request.post('miniindex/getRemindCount', $qs.stringify(data))
  },
  /* 获取初步诊断字典
  * minidict/getDiagnoseList */
  getDiagnoseList (data) {
    return request.post('minidict/getDiagnoseList', $qs.stringify(data))
  },
  /* 回显基本信息 checkInspection/findUserXinXi */
  findUserXinXi (data) {
    return canji.post('checkInspection/findUserXinXi', $qs.stringify(data))
  },
  /* checkInspection/fileUpload */
  checkfileUpload (data) {
    return canji.post('checkInspection/fileUpload', $qs.stringify(data))
  },
  /* 新增检查        checkInspection/insertCheck */
  insertCheck (data) {
    return canji.post('checkInspection/insertCheck', (data))
  },
  /* deleteCheckById 检查 删除 */
  deleteCheckById (data) {
    return canji.post('checkInspection/deleteCheckById', $qs.stringify(data))
  },
  // deleteInspectionById 检验
  deleteInspectionById (data) {
    return canji.post('checkInspection/deleteInspectionById', $qs.stringify(data))
  },
  // deleteMedicalById 门诊
  deleteMedicalById (data) {
    return canji.post('checkInspection/deleteMedicalById', $qs.stringify(data))
  },
  // checkInspection/updateMedical 门诊修改
  updateMedical (data) {
    return canji.post('checkInspection/updateMedical', (data))
  },
  // 查询检查项目字典
  findjianchaZiDian  (data) {
    return canji.post('checkInspection/findjianchaZiDian ', $qs.stringify(data))
  },
  /*
  * 查询这个档案下所有检查的数据  checkInspection/findAllCheck */
  findAllCheck (data) {
    return canji.post('checkInspection/findAllCheck', $qs.stringify(data))
  },
  /*
  * 查询检查详情    checkInspection/findOneCheck  */
  findOneCheck (data) {
    return canji.post('checkInspection/findOneCheck', $qs.stringify(data))
  },
  // 新增检验        checkInspection/insertInspection
  insertInspection (data) {
    return canji.post('checkInspection/insertInspection', (data))
  },
  // 查询这个档案下所有检验的数据  checkInspection/findAllInspection 参数data_user_id  档案这个人的id
  findAllInspection (data) {
    return canji.post('checkInspection/findAllInspection', $qs.stringify(data))
  },
  // 查询检验详情    checkInspection/findOneInspection
  findOneInspection (data) {
    return canji.post('checkInspection/findOneInspection', $qs.stringify(data))
  },
  // 门诊新增    checkInspection/insertMedical
  insertMedical (data) {
    return canji.post('checkInspection/insertMedical', (data))
  },
  // 查询这个门诊就诊列表 findAllMedical
  findAllMedical (data) {
    return canji.post('checkInspection/findAllMedical', $qs.stringify(data))
  },
  // 查询这个门诊就诊详情finOneMedical
  finOneMedical (data) {
    return canji.post('checkInspection/finOneMedical', $qs.stringify(data))
  },
  // checkInspection/findKeShiZiDian
  // 查看科室字典表
  findKeShiZiDian (data) {
    return canji.post('checkInspection/findKeShiZiDian', $qs.stringify(data))
  },
  // checkInspection/findHopZiDian
  // 查看机构字典表
  findHopZiDian (data) {
    return canji.post('checkInspection/findHopZiDian', $qs.stringify(data))
  },
  // checkInspection/findYaoPinZiDian
  // 查看药品
  findYaoPinZiDian (data) {
    return canji.post('checkInspection/findYaoPinZiDian', $qs.stringify(data))
  },
  /* findYaoPinQuChongZiDian  药品查询去重 */
  findYaoPinQuChongZiDian (data) {
    return canji.post('checkInspection/findYaoPinQuChongZiDian', $qs.stringify(data))
  },
  // checkInspection/findXiangMuZiDian
  // 查询项目字典表
  findXiangMuZiDian (data) {
    return canji.post('checkInspection/findXiangMuZiDian', $qs.stringify(data))
  },
  // checkInspection/findXiangMuDetailZiDian
  // 检验项目明细
  findXiangMuDetailZiDian (data) {
    return canji.post('checkInspection/findXiangMuDetailZiDian', $qs.stringify(data))
  },
  //  checkInspection/insertPrescription
  // 新增处方
  insertPrescription (data) {
    return canji.post('checkInspection/insertPrescription', (data))
  },
  // checkInspection/findAllprescription
  // 查询档案人处方列表
  findAllprescription (data) {
    return canji.post('checkInspection/findAllprescription', $qs.stringify(data))
  },
  // checkInspection/findOnePrescriptionDrug
  // 查询处方详情
  findOnePrescriptionDrug (data) {
    return canji.post('checkInspection/findOnePrescriptionDrug', $qs.stringify(data))
  },
  // checkInspection/findUserXinXiTuoMin
  // 回显档案人的基本信息脱敏后
  findUserXinXiTuoMin (data) {
    return canji.post('checkInspection/findUserXinXiTuoMin', $qs.stringify(data))
  },
  // miniorder/getorders
  // 获取我的订单列表
  getorders (data) {
    return request.post('miniorder/getorders', $qs.stringify(data))
  },
  //   miniorder/cancelorder
  // 订单取消
  cancelorder (data) {
    return request.post('miniorder/cancelorder', $qs.stringify(data))
  },
  //   miniorder/finishorder
  // 订单确认完成
  finishorder (data) {
    return request.post('miniorder/finishorder', $qs.stringify(data))
  },
  // miniinqs/getInquiryGroup
  // 确认预约后获取远程会诊群成员
  getInquiryGroup (data) {
    return request.post('miniinqs/getInquiryGroup', $qs.stringify(data))
  },
  // 医生职称
  findDoctorMAJOR (params) {
    return request.get('miniinqs/findDoctorMAJOR', {params})
  },
  //  获取符合条件医生 图文问诊
  findDoctor (data) {
    return request.post('minidoctor/list', $qs.stringify(data))
  },
  //  miniinqs/findPatient
  // 查询被服务人列表
  findPatient (data) {
    return request.post('miniinqs/findPatient', $qs.stringify(data))
  },
  // minidoctor/detail
  // 查看医生详情
  minidoctorDetail (data) {
    return request.post('minidoctor/detail', $qs.stringify(data))
  },
  // miniteamRoster/findTeamScheduleChoose
  // 根据日期查询团队排班
  findTeamScheduleChoose (data) {
    return request.post('miniteamRoster/findTeamScheduleChoose', $qs.stringify(data))
  },
  //  miniinqs/savePatient
  // 新增和修改被服务人
  savePatient (data) {
    return request.post('miniinqs/savePatient', $qs.stringify(data))
  },
  // miniinqs/deletePatient
  // 删除被服务人
  deletePatient (data) {
    return request.post('miniinqs/deletePatient', $qs.stringify(data))
  },
  // miniinqs/saveInquary
  // 新建问诊
  saveInquary (data) {
    return request.post('miniinqs/saveInquary', (data))
  },
  /* miniinqs/weiJieQuXiao
图文问诊 手动取消问诊订单 未接诊取消 */
  weiJieQuXiao (data) {
    return request.post('miniinqs/weiJieQuXiao', $qs.stringify(data))
  },
  //   /* miniinqs/endTuWenZhen
  // 图文问诊 结束图文问诊 */
  //   endTuWenZhen (data) {
  //     return request.post('miniinqs/endTuWenZhen', $qs.stringify(data))
  //   },
  /* miniinqs/weiZhiQuXiao
图文问诊 手动取消问诊订单 未支付取消 */
  weiZhiQuXiao (data) {
    return request.post('miniinqs/weiZhiQuXiao', $qs.stringify(data))
  },
  /* miniinqs/doctorJieZhen
图文问诊 医生接诊 */
  doctorJieZhen (data) {
    return request.post('miniinqs/doctorJieZhen', $qs.stringify(data))
  },
  /* miniinqs/doctorNoJieZhen
图文问诊 医生拒诊 */
  doctorNoJieZhen (data) {
    return request.post('miniinqs/doctorNoJieZhen', $qs.stringify(data))
  },
  /* miniinqs/endTuWenZhenDoc
图文问诊 医生结束问诊 */
  endTuWenZhenDoc (data) {
    return request.post('miniinqs/endTuWenZhenDoc', $qs.stringify(data))
  },
  /* miniinqs/saveInquaryEva
新增服务评价 */
  saveInquaryEva (data) {
    return request.post('miniinqs/saveInquaryEva', $qs.stringify(data))
  },
  // miniinqs/pay
  // 支付
  pay (data) {
    return request.post('miniinqs/pay', $qs.stringify(data))
  },
  // miniinqs/findAllInquiry
  // 查询问诊列表
  findAllInquiry (data) {
    return request.post('miniinqs/findAllInquiry', $qs.stringify(data))
  },
  // miniinqs/fileUpload
  // 上传图片
  // 医师建议填写页面回显数据
  TWfileUpload (data) {
    return request.post('miniinqs/fileUpload', $qs.stringify(data))
  },
  // miniinqs/updateInquShiPin
  // 视频问诊 开始咨询
  updateInquShiPin (data) {
    return request.post('miniinqs/updateInquShiPin', $qs.stringify(data))
  },
  //   miniinqs/updateInquTime
  // 视频问诊 开始预约
  updateInquTime (data) {
    return request.post('miniinqs/updateInquTime', $qs.stringify(data))
  },
  //  miniinqs/findOneInquiry
  //       查询问诊详情
  findOneInquiry (data) {
    return request.post('miniinqs/findOneInquiry', $qs.stringify(data))
  },
  //  checkInspection/findChooseJigou
  // 下拉框 机构 筛选
  findChooseJigou (data) {
    return canji.post('checkInspection/findChooseJigou', $qs.stringify(data))
  },
  // checkInspection/findChooseKeShi
  // 下拉框 科室 筛选
  findChooseKeShi (data) {
    return canji.post('checkInspection/findChooseKeShi', $qs.stringify(data))
  },
  // checkInspection/findChooseXiangmu
  // 下拉框 项目 筛选
  findChooseXiangmu (data) {
    return canji.post('checkInspection/findChooseXiangmu', $qs.stringify(data))
  },
  // minisysMsg/findMsgList
  // 查询 总 消息列表
  findMsgList (data) {
    return request.post('minisysMsg/findMsgList', $qs.stringify(data))
  },
  // minisysMsg/findMsg
  // 查询消息列表
  findMsg (data) {
    return request.post('minisysMsg/findMsg', $qs.stringify(data))
  },
  // minisysMsg/insertMsgRecord
  // 新增已读消息
  insertMsgRecord (data) {
    return request.post('minisysMsg/insertMsgRecord', $qs.stringify(data))
  },
  // minidict/listHealthInfo
  // 档案详情菜单
  listHealthInfoPublic (data) {
    return request.post('minidict/listHealthInfoPublic', $qs.stringify(data))
  },
  // minidict/listHealthInfo
  // 档案详情菜单
  listHealthInfo (data) {
    return request.post('minidict/listHealthInfo', $qs.stringify(data))
  },
  // healthFormationpeople/healthShaiXuan
  // 健康记录筛选 healthFormationpeople
  healthShaiXuan (data) {
    return canji.post('healthFormationpeople/healthShaiXuan', $qs.stringify(data))
  },
  // minipass/checkPass
  // 检验登录密码
  checkPass (data) {
    return request.post('minipass/checkPass', $qs.stringify(data))
  },
  // minipass/getMenusPass
  // 获取单个菜单密码信息
  getMenusPass (data) {
    return request.post('minipass/getMenusPass', $qs.stringify(data))
  },
  // minipass/saveMenuPass
  // 保存菜单密码
  saveMenuPass (data) {
    return request.post('minipass/saveMenuPass', $qs.stringify(data))
  },
  // minipass/getPassLength
  // 获取登录密码长度
  getPassLength (data) {
    return request.post('minipass/getPassLength', $qs.stringify(data))
  },
  // minipass/checkMenuPass
  // 验证菜单密码
  checkMenuPass (data) {
    return request.post('minipass/checkMenuPass', $qs.stringify(data))
  },
  // minidocamount/insertdocAmount
  // 新增和修改 医生维护的项目
  insertdocAmount (data) {
    return request.post('minidocamount/insertdocAmount', $qs.stringify(data))
  },
  // minidocamount/findDocAmount
  // 查询医生的价格维护项目列表
  findDocAmount (data) {
    return request.post('minidocamount/findDocAmount', $qs.stringify(data))
  },
  // minidocamount/findOneDocAmount
  // 查询 项目 详情
  findOneDocAmount (data) {
    return request.post('minidocamount/findOneDocAmount', $qs.stringify(data))
  },
  // miniteamPrice/findTeamAmountOne
  // 查看团队价格维护详情
  findTeamAmountOne (data) {
    return request.post('miniteamPrice/findTeamAmountOne', $qs.stringify(data))
  },
  // minidocamount/deleteDocAmount
  // 删除医生的价格维护项目
  deleteDocAmount (data) {
    return request.post('minidocamount/deleteDocAmount', $qs.stringify(data))
  },
  // minidocamount/findDocAmountLog
  // 查询修改记录列表
  findDocAmountLog (data) {
    return request.post('minidocamount/findDocAmountLog', $qs.stringify(data))
  },
  // miniteamPrice/findTeamAmountLog
  // 查看团队价格维护修改记录列表
  findTeamAmountLog (data) {
    return request.post('miniteamPrice/findTeamAmountLog', $qs.stringify(data))
  },
  // minipackageItem/insertPackage
  // 新增和修改我的服务包
  insertPackage (data) {
    return request.post('minipackageItem/insertPackage', (data))
  },
  // minipackageItem/findPackage
  // 查询我的服务包列表
  findPackage (data) {
    return request.post('minipackageItem/findPackage', $qs.stringify(data))
  },
  // minipackageItem/deletePackage
  // 下架服务包
  deletePackage (data) {
    return request.post('minipackageItem/deletePackage', $qs.stringify(data))
  },
  // minipackageItem/findOnePackage
  // 查询服务包详情
  findOnePackage (data) {
    return request.post('minipackageItem/findOnePackage', $qs.stringify(data))
  },
  // miniinqs/findDocAllInquiryTuWen
  // 医生端====查询图文问诊列表
  findDocAllInquiryTuWen (data) {
    return request.post('miniinqs/findDocAllInquiryTuWen', $qs.stringify(data))
  },

  // miniinqs/findDocAllInquiryShiPin
  // 医生端====查询图文视频列表
  findDocAllInquiryShiPin (data) {
    return request.post('miniinqs/findDocAllInquiryShiPin', $qs.stringify(data))
  },
  // miniinqs/updateDocSuggest
  // 医生端====填写医生建议
  updateDocSuggest (data) {
    return request.post('miniinqs/updateDocSuggest', $qs.stringify(data))
  },
  // miniinqs/updateDocNot
  // 医生端====拒绝预约
  updateDocNot (data) {
    return request.post('miniinqs/updateDocNot', $qs.stringify(data))
  },
  // miniinqs/updateDocArgee
  // 医生端====同意预约
  updateDocArgee (data) {
    return request.post('miniinqs/updateDocArgee', $qs.stringify(data))
  },
  // miniWork/findUserHospital
  // 查询团队工作站列表
  findUserHospital (data) {
    return request.post('miniWork/findUserHospital', $qs.stringify(data))
  },
  // miniWork/findUserHospitalMenu
  // 查询机构对应的团队功能
  findUserHospitalMenu (data) {
    return request.post('miniWork/findUserHospitalMenu', $qs.stringify(data))
  },
  // miniEssay/list
  // 查看随笔列表
  miniessay_list (data) {
    return request.post('miniessay/list', $qs.stringify(data))
  },
  // miniessay/addEssay
  // 添加随笔
  addEssay (data) {
    return request.post('miniessay/addEssay', $qs.stringify(data))
  },
  // miniessay/delEssay
  // 删除随笔
  delEssay (data) {
    return request.post('miniessay/delEssay', $qs.stringify(data))
  },
  // miniessay/findById
  // 查看随笔详情
  findById (data) {
    return request.post('miniessay/findById', $qs.stringify(data))
  },
  /* 患者端---远程会诊页面
* minicons/findConList */
  findConList (data) {
    return request.post('minicons/findConList', $qs.stringify(data))
  },
  //   minipackageItem/findChongPackage
  // 服务包重新上架
  findChongPackage (data) {
    return request.post('minipackageItem/findChongPackage', $qs.stringify(data))
  },
  // minipackageItem/updatePackageStatus
  // 服务包上架
  updatePackageStatus (data) {
    return request.post('minipackageItem/updatePackageStatus', $qs.stringify(data))
  },
  // minisRecord/findAllServiceMsg
  // 查询服务消息列表
  findAllServiceMsg (data) {
    return request.post('minisRecord/findAllServiceMsg', $qs.stringify(data))
  },
  // minisRecord/findOneServiceMsg
  // 查询服务消息详情
  findOneServiceMsg (data) {
    return request.post('minisRecord/findOneServiceMsg', $qs.stringify(data))
  },
  // minidict/listHealthOauth
  // 档案授权列表
  listHealthOauth (data) {
    return request.post('minidict/listHealthOauth', $qs.stringify(data))
  },
  // healthFormationpeople/saveOuthUserQrcode
  // 新增档案授权 入库授权二维码字符串
  saveOuthUserQrcode (data) {
    return canji.post('healthFormationpeople/saveOuthUserQrcode', data)
  },
  // miniinqs/findInquiryingList
  //       // 查看与医生是否有进行中的问诊订单
  findInquiryingList (data) {
    return request.post('miniinqs/findInquiryingList', $qs.stringify(data))
  },
  // miniDocSchedule/saveDocSchedule
  // 新增修改个人排班
  saveDocSchedule (data) {
    return request.post('miniDocSchedule/saveDocSchedule', (data))
  },
  // miniDocSchedule/findDocScheduleParam
  // 查询个人排班
  findDocScheduleParam (data) {
    return request.post('miniDocSchedule/findDocScheduleParam', $qs.stringify(data))
  },
  // miniDocSchedule/insertDocSchedule
  // 新增,修改排班
  insertDocSchedule (data) {
    return request.post('miniDocSchedule/insertDocSchedule', $qs.stringify(data))
  },
  // miniDocSchedule/findDocScheduleByChoose
  // 查看7天内日期 及排班 满还是未满
  findDocScheduleByChoose (data) {
    return request.post('miniDocSchedule/findDocScheduleByChoose', $qs.stringify(data))
  },
  // miniDocSchedule/find7DaySchedule
  // 团队 查看7天内日期 及排班 满还是未满
  find7DaySchedule (data) {
    return request.post('miniDocSchedule/find7DaySchedule', $qs.stringify(data))
  },
  // miniDocSchedule/findDocScheduleAll
  // 查看排班列表
  findDocScheduleAll (data) {
    return request.post('miniDocSchedule/findDocScheduleAll', $qs.stringify(data))
  },
  // miniTeamHealth/listPatientManage
  // 查询医生可排班分配患者档案
  listPatientManage (data) {
    return request.post('miniTeamHealth/listPatientManage', $qs.stringify(data))
  },
  // miniDocSchedule/findDocScheduleSelect
  // 个人排班患者筛选
  findDocScheduleSelect (data) {
    return request.post('miniDocSchedule/findDocScheduleSelect', $qs.stringify(data))
  },
  // miniTeamManageMenu/findTeamManageMenu
  // 团队菜单查看
  findTeamManageMenu (data) {
    return request.post('miniTeamManageMenu/findTeamManageMenu', $qs.stringify(data))
  },
  // miniDocSchedule/updateDocScheduleDel
  // 删除排班
  updateDocScheduleDel (data) {
    return request.post('miniDocSchedule/updateDocScheduleDel', $qs.stringify(data))
  },
  // miniDocSchedule/findDocScheduleChoose
  // 查看可选择的排班列表
  findDocScheduleChoose (data) {
    return request.post('miniDocSchedule/findDocScheduleChoose', $qs.stringify(data))
  },
  // miniteamRoster/findTeamSchedule
  // 根据日期查询团队排班
  findTeamSchedule (data) {
    return request.post('miniteamRoster/findTeamSchedule', $qs.stringify(data))
  },
  // miniinqs/updateInYuYue
  // 医生确认预约
  updateInYuYue (data) {
    return request.post('miniinqs/updateInYuYue', $qs.stringify(data))
  },
  // miniinqs/updateInQuYuYue
  // 医生取消预约
  updateInQuYuYue (data) {
    return request.post('miniinqs/updateInQuYuYue', $qs.stringify(data))
  },
  // miniinqs/updateInQianDao
  // 视频问诊 签到
  updateInQianDao (data) {
    return request.post('miniinqs/updateInQianDao', $qs.stringify(data))
  },
  // miniinqs/weiJieQuXiaoShiPin
  // 手动取消问诊订单 未确认取消
  weiJieQuXiaoShiPin (data) {
    return request.post('miniinqs/weiJieQuXiaoShiPin', $qs.stringify(data))
  },
  //   miniteam/list
  // 团队列表
  // 我创建的团队列表
  TeamList (data) {
    return request.post('miniteam/list', $qs.stringify(data))
  },
  // miniteamPrice/findTeamAmount
  // 查询医生团队服务
  findTeamAmount (data) {
    return request.post('miniteamPrice/findTeamAmount', $qs.stringify(data))
  },
  // miniteam/createDocTeam
  // 创建团队
  createDocTeam (data) {
    return request.post('miniteam/createDocTeam', $qs.stringify(data))
  },
  // miniteam/createDocTeamRequest
  // 申请加入团队
  createDocTeamRequest (data) {
    return request.post('miniteam/createDocTeamRequest', $qs.stringify(data))
  },
  // miniteam/detail
  // 团队详情
  Teamdetail (data) {
    return request.post('miniteam/detail', $qs.stringify(data))
  },
  // miniteam/exitTeam
  // 退出团队
  exitTeam (data) {
    return request.post('miniteam/exitTeam', $qs.stringify(data))
  },
  // miniteam/agreeTeamRequest
  // 通过加入团队请求
  agreeTeamRequest (data) {
    return request.post('miniteam/agreeTeamRequest', $qs.stringify(data))
  },
  // miniteam/NoTeamRequest
  // 拒绝加入团队请求
  NoTeamRequest (data) {
    return request.post('miniteam/NoTeamRequest', $qs.stringify(data))
  },
  // miniteam/exitTeamDuiZhang
  // 更换团队长
  exitTeamDuiZhang (data) {
    return request.post('miniteam/exitTeamDuiZhang', $qs.stringify(data))
  },
  // miniteam/findOneTPrice
  // 查询团队服务列表
  findOneTPrice (data) {
    return request.post('miniteam/findOneTPrice', $qs.stringify(data))
  },
  // miniteamPrice/findTeamPrice
  // 查询团队的的价格维护项目列表
  findTeamPrice (data) {
    return request.post('miniteamPrice/findTeamPrice', $qs.stringify(data))
  },
  // miniteamPrice/updateTeamAmount
  // 修改医生团队服务
  updateTeamAmount (data) {
    return request.post('miniteamPrice/updateTeamAmount', $qs.stringify(data))
  },
  // miniteamPrice/createTeamPrice
  // 新增和修改团队价格维护
  createTeamPrice (data) {
    return request.post('miniteamPrice/createTeamPrice', $qs.stringify(data))
  },
  // miniteamPrice/deleteTeamPrice
  // 删除团队价格维护
  deleteTeamPrice (data) {
    return request.post('miniteamPrice/deleteTeamPrice', $qs.stringify(data))
  },
  // miniteamRoster/findTeamNeiRong
  // 查询团队排班内容 也就是查询团队维护的所有项目
  findTeamNeiRong (data) {
    return request.post('miniteamRoster/findTeamNeiRong', $qs.stringify(data))
  },
  // miniteamRoster/createTeamRoster
  // 新增团队排班
  createTeamRoster (data) {
    return request.post('miniteamRoster/createTeamRoster', (data))
  },
  // miniteamRoster/updateTeamRosteDel
  // 作废团队排班
  updateTeamRosteDel (data) {
    return request.post('miniteamRoster/updateTeamRosteDel', $qs.stringify(data))
  },
  // miniIdrenzheng/renzheng
  // 身份证识别正
  renzhengZheng (data) {
    return request.post('miniIdrenzheng/renzhengZheng', $qs.stringify(data))
  },
  // miniIdrenzheng/renzheng
  // 身份证识别反
  renzhengFan (data) {
    return request.post('miniIdrenzheng/renzhengFan', $qs.stringify(data))
  },
  // miniIdrenzheng/addStaff
  // 新增实名认证
  addStaff (data) {
    return request.post('miniIdrenzheng/addStaff', (data))
  },
  // miniIdrenzheng/findOne
  // 查询详情
  findOne (data) {
    return request.post('miniIdrenzheng/findOne', $qs.stringify(data))
  },
  // miniTeamHealth/findTeamHealthYi
  // 已分配档案列表
  findTeamHealthYi (data) {
    return request.post('miniTeamHealth/findTeamHealthYi', $qs.stringify(data))
  },
  // miniTeamHealth/findTeamHealthWei
  // 未分配档案列表
  findTeamHealthWei (data) {
    return request.post('miniTeamHealth/findTeamHealthWei', $qs.stringify(data))
  },
  // miniTeamHealth/findTeamGroupTwo
  // 查询这个团队有几个二级组
  findTeamGroupTwo (data) {
    return request.post('miniTeamHealth/findTeamGroupTwo', $qs.stringify(data))
  },
  // miniTeamHealth/treeGroup
  // 查询这个团队所有组
  treeGroup (data) {
    return request.post('miniTeamHealth/treeGroup', $qs.stringify(data))
  },
  // miniTeamHealth/findTeamGroupTwoAndThree
  // 根据小组id查询下面成员和下级小组
  findTeamGroupTwoAndThree (data) {
    return request.post('miniTeamHealth/findTeamGroupTwoAndThree', $qs.stringify(data))
  },
  // miniTeamHealth/saveTeamHealth
  // 档案分配
  saveTeamHealth (data) {
    return request.post('miniTeamHealth/saveTeamHealth', $qs.stringify(data))
  },
  // miniTeamHealth/delTeamHealth
  // 删除档案分配
  delTeamHealth (data) {
    return request.post('miniTeamHealth/delTeamHealth', $qs.stringify(data))
  },
  // miniTeamHealth/updateTeamHealth
  // 修改和继续分配
  updateTeamHealth (data) {
    return request.post('miniTeamHealth/updateTeamHealth', $qs.stringify(data))
  },
  // miniTeamAssesschain/saveTeamAssesschain
  // 新增评定审核链
  saveTeamAssesschain (data) {
    return request.post('miniTeamAssesschain/saveTeamAssesschain', (data))
  },
  // miniTeamAssesschain/findTeamAssesschain
  // 查询评定审核链列表
  findTeamAssesschain (data) {
    return request.post('miniTeamAssesschain/findTeamAssesschain', $qs.stringify(data))
  },
  // miniTeamAssesschain/findOneTeamAssesschain
  // 查询评定审核链详情
  findOneTeamAssesschain (data) {
    return request.post('miniTeamAssesschain/findOneTeamAssesschain', $qs.stringify(data))
  },
  // miniTeamAssesschain/updateTeamassesschainDel
  // 删除评定审核链
  updateTeamassesschainDel (data) {
    return request.post('miniTeamAssesschain/updateTeamassesschainDel', $qs.stringify(data))
  },
  // miniTeamGroup/saveTeamGroup
  // 新增，编辑组织架构 （组长的userid也要传到Tlist中）
  saveTeamGroup (data) {
    return request.post('miniTeamGroup/saveTeamGroup', (data))
  },
  // miniTeamGroup/findTeamGroupById
  // 查询组织架构详情
  findTeamGroupById (data) {
    return request.post('miniTeamGroup/findTeamGroupById', $qs.stringify(data))
  },
  // miniTeamGroup/updateTeamGroupDel
  // 删除组织架构
  updateTeamGroupDel (data) {
    return request.post('miniTeamGroup/updateTeamGroupDel', $qs.stringify(data))
  },
  // miniteam/changeTeamZuZhi
  // 成员分配组织结构
  changeTeamZuZhi (data) {
    return request.post('miniteam/changeTeamZuZhi', $qs.stringify(data))
  },
  /* 接单端医生 */
  // miniorder/acceptorder
  // 医生接单
  acceptorder (data) {
    return request.post('miniorder/acceptorder', $qs.stringify(data))
  },
  // miniorder/rejectorder
  // 医生拒单
  rejectorder (data) {
    return request.post('miniorder/rejectorder', $qs.stringify(data))
  },
  // miniorder/startOrderService
  // 医生开始服务
  startOrderService (data) {
    return request.post('miniorder/startOrderService', $qs.stringify(data))
  },
  // miniorder/endOrderService
  // 医生结束服务
  endOrderService (data) {
    return request.post('miniorder/endOrderService', $qs.stringify(data))
  },
  // healthdata/findHeaXtZidian
  // （血糖）查询血糖对应的字典
  findHeaXtZidian (data) {
    return request.post('healthdata/findHeaXtZidian', $qs.stringify(data))
  },
  // healthdata/savetHealthXueTang
  // （血糖）新增治疗计划维护
  savetHealthXueTang (data) {
    return request.post('healthdata/savetHealthXueTang', (data))
  },
  // healthdata/findHealthXTweiHu
  // （血糖）查询用户的治疗计划维护
  findHealthXTweiHu (data) {
    return request.post('healthdata/findHealthXTweiHu', $qs.stringify(data))
  },
  // healthdata/saveHealthdataXT
  // （血糖）新增，修改血糖
  saveHealthdataXT (data) {
    return request.post('healthdata/saveHealthdataXT', (data))
  },
  // healthdata/saveXueXin
  // 新增血压心率 手工输入
  saveXueXin (data) {
    return request.post('healthdata/saveXueXin', (data))
  },
  // healthdata/healthdataByTimeDuan
  // 血压，心率折线图 根据日期段
  healthdataByTimeDuan (data) {
    return request.post('healthdata/healthdataByTimeDuan', $qs.stringify(data))
  },
  // healthdata/healthdataByTime
  // 血压，心率折线图 根据日期
  healthdataByTime (data) {
    return request.post('healthdata/healthdataByTime', $qs.stringify(data))
  },
  // healthdata/updateHealthdata
  // 血压（心率）修改
  updateHealthdata (data) {
    return request.post('healthdata/updateHealthdata', $qs.stringify(data))
  },
  // healthdata/findHealthdataOneNew
  // 血压详情
  findHealthdataOneNew (data) {
    return request.post('healthdata/findHealthdataOneNew', $qs.stringify(data))
  },
  // healthdata/findXueYaXinLvList
  // 血压，心率全部数据列表
  findXueYaXinLvList (data) {
    return request.post('healthdata/findXueYaXinLvList', $qs.stringify(data))
  },
  // healthdata/updateHealthdataById
  // 血压删除
  updateHealthdataById (data) {
    return request.post('healthdata/updateHealthdataById', $qs.stringify(data))
  },
  // healthdata/healthXueTang
  // （血糖）血糖列表
  healthXueTang (data) {
    return request.post('healthdata/healthXueTang', $qs.stringify(data))
  },
  // healthdata/healthXueTangByDuan
  // （血糖）根据指定日期搜索血糖
  healthXueTangByDuan (data) {
    return request.post('healthdata/healthXueTangByDuan', $qs.stringify(data))
  },
  // healthdata/healthXueTangByGe
  // （血糖）根据指定日期搜索血糖表格
  healthXueTangByGe (data) {
    return request.post('healthdata/healthXueTangByGe', $qs.stringify(data))
  },
  // healthdata/healthXueTangTongJi
  // （血糖）血糖统计
  healthXueTangTongJi (data) {
    return request.post('healthdata/healthXueTangTongJi', $qs.stringify(data))
  },
  // healthdata/findHealthdataOneXT
  // （血糖）血糖详情
  findHealthdataOneXT (data) {
    return request.post('healthdata/findHealthdataOneXT', $qs.stringify(data))
  },
  // miniTeamBed/save
  // 编辑床位
  miniTeamBedsave (data) {
    return request.post('miniTeamBed/save', $qs.stringify(data))
  },
  // miniTeamBed/listByCon
  // 床位列表
  listByCon (data) {
    return request.post('miniTeamBed/listByCon', $qs.stringify(data))
  },
  // miniteamPrice/findTeamPriceSelect
  findTeamPriceSelect (data) {
    return request.post('miniteamPrice/findTeamPriceSelect', $qs.stringify(data))
  },
  // miniTeamTodayWork/findPatients
  // 患者列表
  findPatients (data) {
    return request.post('miniTeamTodayWork/findPatients', $qs.stringify(data))
  },
  // /miniorder/saveOrder
  // 创建订单
  saveOrder (data) {
    return request.post('miniorder/saveOrder', $qs.stringify(data))
  },
  // miniorder/pay
  // 支付
  miniorder_pay (data) {
    return request.post('miniorder/pay', $qs.stringify(data))
  },
  // miniTeamPatient/save
  // 保存患者类型
  miniTeamPatientSave (data) {
    return request.post('miniTeamPatient/save', $qs.stringify(data))
  },
  // zhiyuan-post
  getPost (url, data) {
    return request.post(url, $qs.stringify(data))
  },
  // miniorder/getMyAddresses
  // 服务地址列表
  getMyAddresses (data) {
    return request.post('miniaddress/getMyAddresses', $qs.stringify(data))
  },
  // miniorder/deleteAddress
  // 服务地址删除
  deleteAddress (data) {
    return request.post('miniaddress/deleteAddress', $qs.stringify(data))
  },
  // miniorder/saveAddress
  // 服务地址新增
  saveAddress (data) {
    return request.post('miniaddress/saveAddress', $qs.stringify(data))
  },
  // miniaddress/updateAddress
  // 服务地址修改
  updateAddress (data) {
    return request.post('miniaddress/updateAddress', $qs.stringify(data))
  },
  // miniaddress/detailAddress
  // 服务地址详情
  detailAddress (data) {
    return request.post('miniaddress/detailAddress', $qs.stringify(data))
  },
  // miniTeamVisit/findTeamVisitParam
  // 探视 列表
  findTeamVisitParam (data) {
    return request.post('miniTeamVisit/findTeamVisitParam', $qs.stringify(data))
  },
  // miniTeamVisit/save
  // 新增 修改探视
  miniTeamVisitsave (data) {
    return request.post('miniTeamVisit/save', (data))
  },
  // miniTeamVisit/DelTeamVisitById
  // 删除探视
  DelTeamVisitById (data) {
    return request.post('miniTeamVisit/DelTeamVisitById', $qs.stringify(data))
  },
  // minihealthoauth/detail
  // 授权记录
  minihealthoauthDetail (data) {
    return request.post('minihealthoauth/detail', $qs.stringify(data))
  },
  // minihealthoauth/save
  // 修改授权
  minihealthoauthSave (data) {
    return request.post('minihealthoauth/save', (data))
  },
  //healthdata/findHealthdataTzIntraday
  // 查询指定哪天体重
  findHealthdataTzIntraday (data) {
    return request.post('healthdata/findHealthdataTzIntraday', $qs.stringify(data))
  },
  //healthdata/saveHealthdataTZ
  //新增/修改  体重数据
  saveHealthdataTZ (data) {
    return request.post('healthdata/saveHealthdataTZ', $qs.stringify(data))
  },
  //healthdata/findHealthdataTzByTime
  //查询指定日期范围统计
  findHealthdataTzByTime(data){
    return request.post('healthdata/findHealthdataTzByTime', $qs.stringify(data))
  },
  //healthdata/findHealthdataTzTian
  //查询指定日期天统计
  findHealthdataTzTian(data){
    return request.post('healthdata/findHealthdataTzTian', $qs.stringify(data))
  },
  //healthdata/findHealthdataTzOne
  //查询体重详情
  findHealthdataTzOne(data){
    return request.post('healthdata/findHealthdataTzOne', $qs.stringify(data))
  },
  //healthdata/updateHealthdataTzDel
  //删除历史记录
  updateHealthdataTzDel(data){
    return request.post('healthdata/updateHealthdataTzDel', $qs.stringify(data))
  },
  //miniTeamPgroup/findTeamPgroupPatient
  //删除历史记录
  findTeamPgroupPatient(data){
    return request.post('miniTeamPgroup/findTeamPgroupPatient', $qs.stringify(data))
  },
  //miniTeamPgroup/savePgroup
  //新建分组
  savePgroup(data){
    return request.post('miniTeamPgroup/savePgroup', $qs.stringify(data))
  },
  //miniTeamPgroup/delPgroup
  //删除分组
  delPgroup(data){
    return request.post('miniTeamPgroup/delPgroup', $qs.stringify(data))
  },
  //miniTeamPgroup/delPgroupPatient
  //删除分组下人员
  delPgroupPatient(data){
    return request.post('miniTeamPgroup/delPgroupPatient', $qs.stringify(data))
  },
  //miniTeamPgroup/movePgroupPatient
  //删除分组下人员
  movePgroupPatient(data){
    return request.post('miniTeamPgroup/movePgroupPatient', $qs.stringify(data))
  },
  //miniTeamPgroup/savePgroupPatient
  //新增分组下人员
  savePgroupPatient(data){
    return request.post('miniTeamPgroup/savePgroupPatient', $qs.stringify(data))
  },
}
export default {
  install (Fn) {
    Fn.prototype.$http = http
  }
}
